# encoding: utf-8
from flask_marshmallow import base_fields
from app.modules.common.parameters import BaseParameters, Parameters


class EntranceListParameters(Parameters):
    env_name = base_fields.String(
        required = True,
    )
    types = base_fields.String(
        required = False,
        missing = None
    )
    zone_codes = base_fields.String(
        required = False,
        missing = None
    )
    hasApp = base_fields.Boolean(
        required = False,
        missing = False
    )
    current_status = base_fields.String(
        required = False,
        missing = None
    )
